﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////

#pragma once
#include <cstdint>
#include "NdbDataSchema.h"

namespace gcmp { 

/// \brief 构件连接位置
    SERIALIZABLE_ENUM_CLASS(JoinPosition)
    {
        Invalid = -1, ///<  无效连接
        Start = 0,    ///<  起始连接
        End = 1,      ///<  终点连接
        Middle = 2    ///<  中间连接
    };

/// \brief 构件连接类型
    SERIALIZABLE_ENUM_CLASS(JoinType)
    {
        InvalidJoinType = -1,   ///<  无效连接类型 
        Abut = 0,               ///<  平接
        Miter,                  ///<  斜接
        SquareOff,              ///<  方接
        Cross,                  ///<  十字形
        TType                   ///<  T接
    };
}// namespace gcmp
